👨🏽🔬 科學人雜誌
(19 actions, 20 KB)
0 URL
https://www.scitw.cc
➔ baseURL
»
1
8
15
1 Get Contents of URL
[0 baseURL]
/categories/507
»
2 Make HTML from Rich Text
[1 Contents of URL]
»
3 Match Text
type="application/json">(.*?)</script>
in
[2 HTML from Rich Text]
»
4 Get Match
Group At Index
1
in
[3 Matches]
»
5 Get Dictionary from
[4 Text]
»
6 Get Dictionary Value for
props.pageProps.posts.meta.totalPage
in
[5 Dictionary]
➔ totlaPage
»
7 Random Number between
1
and
[6 totlaPage]
»
8 Get Contents of URL
[0 baseURL]
/categories/507?page=
[7 Random Number]
»
9 Make HTML from Rich Text
[8 Contents of URL]
»
10 Match Text
type="application/json">(.*?)</script>
in
[9 HTML from Rich Text]
»
11 Get Match
Group At Index
1
in
[10 Matches]
»
12 Get Dictionary from
[11 Text]
»
13 Get Dictionary Value for
props.pageProps.posts.list
in
[12 Dictionary]
»
14 Get
Random Item
from List
[13 Dictionary Value]
»
15
16
15 URL
[0 baseURL]
/posts/
[14 Item from List
as Dictionary.slug
]
»
16 Dictionary »
{ "title": "👨🏽🔬 科學人雜誌", "subtitle": "
[14 Item from List
as Dictionary.abstract
]
", "body": "
[14 Item from List
as Dictionary.title
]
", "openURL": "
[15 URL]
" }
17 Scriptable > ParameterizedRunScriptIntent
fileName
:
Create Notification
parameter
:
[16 Dictionary]
ShowWhenRun
:
false
18 Lock Screen